<template>
  <div>
      404
      <button @click="fun()">点我去资讯</button>
  </div>
</template>

<script>
export default {
    methods:{
        fun(){
            this.$router.push('/zixun')
        }
    }
}
</script>

<style scoped>
    div{
    font-size: .3rem;
    background-color: pink;
    }
    button{
      color: yellowgreen;
      font-size: .2rem;
    }
</style>